#ifndef TDGT_CONSTANTS_H
#define TDGT_CONSTANTS_H

#include <string>
#include <map>
#include <iostream>
#include <array>
#include <limits>
#include <cmath>
#include <cassert>

#define DE_INTV -2147483648
#define INTV_CNTED -2147483647
#define DE_W 2147483647


double EPSILON = 1e-7; //1/86400 =1.157e-5


int TMAX = 86400;
unsigned long LEAF_SIZE = 64;
unsigned long FANOUT = 4;

std::string gen_social_politician_community_partition = "/home/publicuser/zy/politician_community_partition2.txt";

//std::string tgraph_path = "/home/publicuser/zy/CAL.txt";
//std::string road_coor = "/home/publicuser/zy/21048USA-road-d.NY.co";
//std::string read_community_partition = "/home/publicuser/zy/politician_community_partition372_153+oneInfluence.txt";
//std::string politician_con_cal = "/home/publicuser/zy/politician_con_cal.txt";
//std::string politician_coor = "/home/publicuser/zy/politician_coor.txt";
//std::string politician_new_pr = "/home/publicuser/zy/politician_new_pr.txt";

 //data 1
//std::string road_coor = "/home/publicuser/zy/test_1_2_4/1/California_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test_1_2_4/1/TD_California_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test_1_2_4/1/Social_Face_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test_1_2_4/1/Face_con_Cal.txt";
//std::string social_coor = "/home/publicuser/zy/test_1_2_4/1/social_Face_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test_1_2_4/1/social_facebook_new_pr.txt";
//std::string social_query = "/home/publicuser/zy/test_1_2_4/1/Query1.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test_1_2_4/1/gen_qRegion.txt";
//std::string gen_allqRegion = "/home/publicuser/zy/test_1_2_4/1/gen_allqRegion.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test_1_2_4/1/countTopK_2_30_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test_1_2_4/1/countTopK_2_30_CTS.txt";

// data 2
//std::string road_coor = "/home/publicuser/zy/test_1_2_4/2/BAY_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test_1_2_4/2/TD_nonRepeatBAY.txt";
//std::string read_community_partition = "/home/publicuser/zy/test_1_2_4/2/Social_Brightkite_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test_1_2_4/2/Bright_con_BAY.txt";
//std::string social_coor = "/home/publicuser/zy/test_1_2_4/2/social_Bright_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test_1_2_4/2/social_Brightkite_newPr.txt";
//std::string social_query = "/home/publicuser/zy/test_1_2_4/2/Query2.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test_1_2_4/2/gen_qRegion.txt";
//std::string gen_allqRegion = "/home/publicuser/zy/test_1_2_4/2/gen_allqRegion.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test_1_2_4/2/countTopK_2_30_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test_1_2_4/2/countTopK_2_30_CTS.txt";

// data 3
//std::string road_coor = "/home/publicuser/zy/test_1_2_4/3/Florida_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test_1_2_4/3/TD_Florida_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test_1_2_4/3/Social_Gowalla_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test_1_2_4/3/Gowalla_con_FLO.txt";
//std::string social_coor = "/home/publicuser/zy/test_1_2_4/3/social_Gowalla_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test_1_2_4/3/social_Gowalla_new_pr.txt";
//std::string social_query = "/home/publicuser/zy/test_1_2_4/3/Query3.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test_1_2_4/3/gen_qRegion.txt";
//std::string gen_allqRegion = "/home/publicuser/zy/test_1_2_4/3/gen_allqRegion.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test_1_2_4/3/countTopK_2_30_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test_1_2_4/3/countTopK_2_30_CTS.txt";

// //data 4
//std::string road_coor = "/home/publicuser/zy/test_1_2_4/4/Western_USA_Coor.txt"; 
//std::string tgraph_path = "/home/publicuser/zy/test_1_2_4/4/TD_Western_USA_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test_1_2_4/4/Social_Pokec_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test_1_2_4/4/Pokec_con_WEU.txt";
//std::string social_coor = "/home/publicuser/zy/test_1_2_4/4/social_Pokec_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test_1_2_4/4/social_Pokec_new_pr.txt";
//std::string social_query = "/home/publicuser/zy/test_1_2_4/4/Query4_5.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test_1_2_4/4/gen_qRegion.txt";
//std::string gen_allqRegion = "/home/publicuser/zy/test_1_2_4/4/gen_allqRegion.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test_1_2_4/4/countTopK_TS_2_25.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test_1_2_4/4/countTopK_CTS_2_25.txt";


//experiment 5
//std::string tgraph_path = "/home/publicuser/zy/test5/1/TD_Western_USA_50K.txt";
//std::string social_query = "/home/publicuser/zy/test5/1/Query1.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test5/1/gen_qRegion.txt";

//std::string tgraph_path = "/home/publicuser/zy/test5/2/TD_Western_USA_100K.txt";
//std::string social_query = "/home/publicuser/zy/test5/2/Query2.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test5/2/gen_qRegion.txt";
//
//std::string tgraph_path = "/home/publicuser/zy/test5/3/TD_Western_USA_500K.txt";
//std::string social_query = "/home/publicuser/zy/test5/3/Query3.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test5/3/gen_qRegion.txt";
//
//std::string tgraph_path = "/home/publicuser/zy/test5/4/TD_Western_USA_1000K.txt";
//std::string social_query = "/home/publicuser/zy/test5/4/Query4.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test5/4/gen_qRegion.txt";

//std::string tgraph_path = "/home/publicuser/zy/test5/5/TD_Western_USA_5000K.txt";
//std::string social_query = "/home/publicuser/zy/test5/5/Query5.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test5/5/gen_qRegion.txt";


// experiment 3
//std::string road_coor = "/home/publicuser/zy/test3/1/California_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test3/1/TD_California_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test3/1/Social_F_10000_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test3/1/Bright_10000_con_Cal.txt";
//std::string social_coor = "/home/publicuser/zy/test3/1/social_Bright_10000_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test3/1/social_Brightkite_10000_newPr.txt";
//std::string countTargetUsers = "/home/publicuser/zy/test3/1/countTargetUsers.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test3/1/countTopK_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test3/1/countTopK_CTS.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test3/1/gen_qRegion.txt";
//std::string social_query = "/home/publicuser/zy/test3/1/Query_s_1.txt";

std::string road_coor = "/home/publicuser/zy/test3/2/California_Coor.txt";
std::string tgraph_path = "/home/publicuser/zy/test3/2/TD_California_Edge.txt";
std::string read_community_partition = "/home/publicuser/zy/test3/2/Social_F_20000_community_partition.txt";
std::string connection = "/home/publicuser/zy/test3/2/Bright_20000_con_Cal.txt";
std::string social_coor = "/home/publicuser/zy/test3/2/social_Bright_20000_Coor.txt";
std::string social_new_pr = "/home/publicuser/zy/test3/2/social_Brightkite_20000_newPr.txt";
std::string countTargetUsers = "/home/publicuser/zy/test3/2/countTargetUsers.txt";
std::string countTopK_TS = "/home/publicuser/zy/test3/2/countTopK_TS.txt";
std::string countTopK_CTS = "/home/publicuser/zy/test3/2/countTopK_CTS.txt";
std::string gen_qRegion = "/home/publicuser/zy/test3/2/gen_qRegion.txt";
std::string social_query = "/home/publicuser/zy/test3/2/Query_s_2.txt";
std::string test1 = "/home/publicuser/zy/test3/2/test1.txt";
//
//std::string road_coor = "/home/publicuser/zy/test3/3/California_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test3/3/TD_California_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test3/3/Social_F_30000_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test3/3/Bright_30000_con_Cal.txt";
//std::string social_coor = "/home/publicuser/zy/test3/3/social_Bright_30000_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test3/3/social_Brightkite_30000_newPr.txt";
//std::string countTargetUsers = "/home/publicuser/zy/test3/3/countTargetUsers.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test3/3/countTopK_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test3/3/countTopK_CTS.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test3/3/gen_qRegion.txt";
//std::string social_query = "/home/publicuser/zy/test3/3/Query_s_3.txt";
//std::string test1 = "/home/publicuser/zy/test3/3/q_region_test1.txt";
//std::string notFound = "/home/publicuser/zy/test3/3/notEqual.txt";

//std::string road_coor = "/home/publicuser/zy/test3/4/California_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test3/4/TD_California_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test3/4/Social_F_40000_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test3/4/Bright_40000_con_Cal.txt";
//std::string social_coor = "/home/publicuser/zy/test3/4/social_Bright_40000_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test3/4/social_Brightkite_40000_newPr.txt";
//std::string countTargetUsers = "/home/publicuser/zy/test3/4/countTargetUsers.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test3/4/countTopK_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test3/4/countTopK_CTS.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test3/4/gen_qRegion.txt";
//std::string social_query = "/home/publicuser/zy/test3/4/Query_s_4.txt";

//std::string road_coor = "/home/publicuser/zy/test3/5/California_Coor.txt";
//std::string tgraph_path = "/home/publicuser/zy/test3/5/TD_California_Edge.txt";
//std::string read_community_partition = "/home/publicuser/zy/test3/5/Social_F_50000_community_partition.txt";
//std::string connection = "/home/publicuser/zy/test3/5/Bright_50000_con_Cal.txt";
//std::string social_coor = "/home/publicuser/zy/test3/5/social_Bright_50000_Coor.txt";
//std::string social_new_pr = "/home/publicuser/zy/test3/5/social_Brightkite_50000_newPr.txt";
//std::string countTargetUsers = "/home/publicuser/zy/test3/5/countTargetUsers.txt";
//std::string countTopK_TS = "/home/publicuser/zy/test3/5/countTopK_TS.txt";
//std::string countTopK_CTS = "/home/publicuser/zy/test3/5/countTopK_CTS.txt";
//std::string gen_qRegion = "/home/publicuser/zy/test3/5/gen_qRegion.txt";
//std::string social_query = "/home/publicuser/zy/test3/5/Query_s_5.txt";

#endif //TDGT_CONSTANTS_H


